import { get } from "@/util/request";
// import axios from "axios";
// axios.defaults.baseURL = "/api/v3";
//页面Id
export const getPageId = () => get("/m1/cms/nav");

//页面数据
export const reqHomeApi = (pageId) => get("/m1/cms/page/detail", pageId);

//旅游产品详情
export const reqDetail = (product_id) => get("/m1/product/detail", product_id);

//选着团期
export const reqCombo = (product_id) => get("/product/combo/date", product_id);

//提交预定
export const reqTrip = (data) => get("/product/new/trip", data);

//搜索
// export const reqSearch = (keywords) => get(`/page/keywords${keywords}`);
